$OpenBSD: patch-lib_ansible_modules_extras_packaging_os_openbsd_pkg_py,v 1.1 2014/12/06 11:32:56 rpe Exp $
--- lib/ansible/modules/extras/packaging/os/openbsd_pkg.py.orig	Wed Dec  3 23:13:08 2014
+++ lib/ansible/modules/extras/packaging/os/openbsd_pkg.py	Wed Dec  3 23:13:41 2014
@@ -127,9 +127,9 @@ def get_package_state(name, pkg_spec, module):
 # Function used to make sure a package is present.
 def package_present(name, installed_state, pkg_spec, module):
     if module.check_mode:
-        install_cmd = 'pkg_add -Imn'
+        install_cmd = 'pkg_add -Imnz'
     else:
-        install_cmd = 'pkg_add -Im'
+        install_cmd = 'pkg_add -Imz'
 
     if installed_state is False:
 
